﻿using System.Collections.Generic;

namespace Ipmce.RemoteVoting.Backend.DataAccess
{
	public interface IVoterRepository
	{
		Voter GetById(long id);
		Voter GetByPassportNumber(string passportNumber);
		Voter GetByThumbprint(string certificateThumbprint);
		IList<Voter> GetAllVoters();

		void CommitChanges();
	}
}
